<div class="charts__area">
  <div class="charts__area__select">
      <h5>Select data:</h5>
      <!-- 
        [nzValueProperty]="'name'"
        [nzLabelProperty]="'name'" 
      -->
      <nz-cascader
        [nzChangeOnSelect]="true"
        [(ngModel)]="_value"
        (nzLoad)="loadData($event)"
        [nzColumnClassName]="'areaOption'"
        (ngModelChange)="_console($event)"
        (nzChange)="_console($event)">
      </nz-cascader>
  </div>
  <!--
    制图
  -->
  <div class="charts__area__submit">
    <button nz-button (click)="chartsAreaSubmit()" [nzType]="'primary'" 
            [nzSize]="'small'">
            Draw
    </button>
  </div>
  <!--
    Chart
  -->
  <div *ngIf="loadCharts" class="charts__area__panel">
      <canvas baseChart
              [data]="areaChartData"
              [labels]="areaChartLabels"
              [chartType]="pieChartType"
              (chartHover)="chartHovered($event)"
              (chartClick)="chartClicked($event)">
      </canvas>
    </div>
</div>